import Vue from 'vue'
// import VueRouter from 'vue-router'
import VueRouter from '../js/vueRouter'
import index from '../components/index'


Vue.use(VueRouter)

const routes = [
    {
        path:'/',
        name:'index',
        component:index
    },{
        path:'/two',
        name:'index',
        component: () => import('../components/two.vue')
    }
]

const router = new VueRouter({
    routes
})

export default router